package Chapter2.Comparing.c5;

public class Undergraduate extends Exam {
    private String department;
    private String major;

    public void setDepartment(String department) {
        this.department = department;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
